#define _CRT_SECURE_NO_WARNINGS 1
#include <stdio.h>
#include <assert.h>
char* mofang_strcpy(char* x, const char* y)
{
	char* z = x;
	assert(x && y);
	while (*x++=*y++)
	{
		;
	}
	return z;
}
int main()
{
	char arr1[50] = "helloa";
	char arr2[50] = "byebyeno";
	char* ret=mofang_strcpy(arr2, arr1);
	printf("%s", ret);

	return 0;
}